home *** CD-ROM | disk | FTP | other *** search
/ Best of Shareware / Best of PC Windows Shareware 1.0 - Wayzata Technology (7111) (1993).iso / pc / dos / business / npa_0992 / npa.doc < prev    next >
Text File  |  1992-09-16  |  26KB  |  528 lines

  1.  
  2.                                    -  NPA  -
  3.  
  4.                               Numbering Plan Area
  5.  
  6.                           The Comprehensive Area Code
  7.                              and Exchange Locator
  8.  
  9.                                    <17Sep92>
  10.  
  11.                              (C) Copyright 1991-92
  12.  
  13.                                The PC Consultant
  14.                                 P.O. Box 42086
  15.                              Houston TX 77242-2086
  16.                      Ph. 713/826-2629  (v-mail no answer)
  17.  
  18.  
  19.           NPA is a comprehensive area code, state, city, and exchange
  20.      locator.  NPA stands for Numbering Plan Area - which is phone speak
  21.      for area code.
  22.  
  23.           The data files accessed by NPA were compressed from over five
  24.      megabytes of raw data that comprises the NANP (North American
  25.      Numbering Plan) for the US and Canadian telephone system.  Other area
  26.      code programs simply show you the state and a few larger cities.  But
  27.      NPA goes WAY beyond that!
  28.  
  29.           Below lists some of the powerful features of NPA:
  30.  
  31.           ■ Find one or any number of cities based on state, area code
  32.             (NPA), city name, or local number prefix (NXX).
  33.  
  34.           ■ Once found, you can display several combinations of the
  35.             following:  city name, state name, npa, city nxx's, county
  36.             name, county population, best guess primary zipcode, and
  37.             latitude/longitude.
  38.  
  39.           ■ Data is viewable in a scrollable buffer allowing you to easily
  40.             browse through the findings.
  41.  
  42.           ■ Includes the new area codes 310, 410, 510, and the recent
  43.             introduction of the 706 area code along with many new NXXs.
  44.  
  45.           ■ NEW!  Included are two flat files containing a summary of all
  46.             NPA assignments and international country codes for 83
  47.             countries and their larger cities.
  48.  
  49.  
  50.           With NPA, you can locate all area codes in a state, display the
  51.      cities in those area codes, and even display all the valid exchanges
  52.      (sometimes called the prefix - or NXX in TelCo lingo) belonging to
  53.      the city!  Even podunk-hollow will show up if it has it's own
  54.      telephone company wire center.  And even if podunk hollow doesn't
  55.      show up under it's own name, it's local NXXs will likely appear in a
  56.      neighboring larger city with whom it shares a wire center.
  57.  
  58.           You can search based on state or area code.  You can narrow the
  59.      search by specifying a city search mask or only a certain NXX.  You
  60.      can search for cities having a certain number of exchanges - or
  61.      search for a range number of exchanges.  And once all this is found,
  62.      you can optionally display with the combinations noted in the
  63.      second bullet above.
  64.  
  65.           You can specify all parameters on the command line or if you
  66.      just say 'NPA' with no parameters a full screen query will appear
  67.      with online help.  Either way, NPA will display it's output in a
  68.      buffer that will let you browse forward and backward.
  69.  
  70.  
  71.           Syntax for executing NPA:
  72.  
  73.           NPA (state|npa)[.city|.nxx] [min=x] [max=x] [-25] [-50] [-b]
  74.               [-c] [-co] [-lat] [-pop] [-s] [-x] [-zip]
  75.  
  76.                ( ) = required parameter
  77.                [ ] = optional parameter
  78.                 |  = select one from listed parameters
  79.  
  80.  
  81.       where:   state      : Two letter postal code or portion of state/
  82.                             province name for a search.  NPA will show all
  83.                             area codes and cities for state/province that
  84.                             fall within search parms.  If you specify '*',
  85.                             then all states/provinces will be searched.
  86.  
  87.                npa        : Numbering Plan Area - three digit area code.
  88.                             NPA will show state and cities that are in the
  89.                             area code specified.
  90.  
  91.                .city      : Narrow the search to cities whose names begin
  92.                             with the letters specified here.  ie:
  93.                             Entering 'tx.hou' will show Houston TX.
  94.  
  95.                .nxx       : Specific prefix you wish to locate.
  96.  
  97.                min=x      : Display cities having at least x number of
  98.                             exchanges.  Omitting this parameter will
  99.                             assume a default based on other parameters
  100.                             specified.  This is detailed below.
  101.  
  102.                max=x      : Display cities having at most x number of
  103.                             exchanges.  Omitting this parameter defaults
  104.                             to no max.
  105.  
  106.                -25        : Forces screen into 25 line mode even if screen
  107.                             is in a different lines per screen mode prior
  108.                             to executing NPA.
  109.  
  110.                -50        : Forces screen into 50 line mode which allows
  111.                             you to see much more on the screen at a time.
  112.                             You must specify the -25/-50 option on the DOS
  113.                             command line for it to be honoured.  However,
  114.                             if you specify -25/-50 *by itself* on the
  115.                             command line, you'll still get full screen
  116.                             query mode.  NPA will automatically detect if
  117.                             screen is already in 50 line mode and use it.
  118.                             Other non-standard modes such as 24, 30, and
  119.                             43 line mode are not recognized by NPA.
  120.  
  121.                -b         : Don't display output in scrollable buffer.
  122.                             Normally, NPA will display output in a
  123.                             scrollable buffer that allows you to browse
  124.                             forward and backward.  This option causes NPA
  125.                             to display output in regular line mode.
  126.  
  127.                -c         : Don't pause after each screen.  Normally,
  128.                             NPA pauses each screenful.  This option is
  129.                             only meaningful when used with -b.
  130.  
  131.                -co        : Display county name next to city name.  When
  132.                             this option is used, option -x/-lat/-zip, if
  133.                             specified, is ignored.
  134.  
  135.                -pop       : Display approximate county-wide population
  136.                             next to county and city name.  This option
  137.                             forces -co enabled, and causes -x/-lat/-zip,
  138.                             if specified, to be ignored.
  139.  
  140.                -lat       : Also display latitude and longitude next to
  141.                             NXX data output.  This option forces -x on.
  142.                             Please note that using -lat may potentially
  143.                             cause NPA to generate copious gobs of output
  144.                             and therefore take longer to generate.  It's
  145.                             recommended that -lat be limited to narrow
  146.                             searches.
  147.  
  148.                -s         : Used with '.city'.  Causes NPA to perform a
  149.                             sliding search on city name in database when
  150.                             looking for a match.  IE:  Using -s, the
  151.                             command 'npa tx.usto' will find Houston, TX.
  152.                             Without -s, then Houston would not be located
  153.                             unless your command is 'npa tx.hous'.  This
  154.                             is useful for finding all cities with, for
  155.                             example, 'lake' somewhere in the name.
  156.  
  157.                -x         : Also display all valid exchanges for this
  158.                             city.  Default is state, NPA and city name
  159.                             only.
  160.                -zip
  161.                           ; Also display zipcode next to NXX data output.
  162.                             This option forces -x on.  Like -lat, this
  163.                             option can potentially create a gob of output.
  164.                             And -zip used with -lat can REALLY generate a
  165.                             slew of output.  NOTE:  The reported zipcode
  166.                             is a only best guess for the prevalent zipcode
  167.                             in the area.  There is no one-to-one mapping
  168.                             between zipcode and NPA.  Zipcodes are
  169.                             provided for casual reference only.  Your
  170.                             mileage may vary.
  171.  
  172.  
  173.           A brief note about options that enable/disable other options:
  174.      There are two primary output types.  One that displays the NPA on the
  175.      left with city names across the screen to the right, and one that
  176.      display the NPA *and* city name on the left with that city's NXXs
  177.      across the screen to the right.  These are mutually exclusive output
  178.      types and each has it's own (also mutually exclusive) set of options.
  179.      The two primary display types are:
  180.  
  181.           ■ The default is to display just NPA on the left and city names
  182.             across the screen to the right.  By adding -co, the county
  183.             name is also displayed immediately after the city name on the
  184.             same line.  By adding -pop, you'll also see the estimated
  185.             county population along with city and county name.
  186.  
  187.           ■ By specifying -x, you are instructing NPA to display NPA and
  188.             city name on the left and that city's NXX data across the
  189.             screen to the right.  There are also two options that cause
  190.             NPA to display additional NXX specific data.  The -lat option
  191.             displays the NXXs latitude and longitude immediately after the
  192.             NXX on the same line.  The -zip option displays the NXXs
  193.             primary or most pravalent zipcode.
  194.  
  195.  
  196.           All output is normally stored in a virtual memory buffer that
  197.      allows you to scroll back and forth to facilitate viewing.  The
  198.      scrollable buffer will hold approximately 32,000 lines so you're not
  199.      too likely to overflow it.  Some options, especially -zip and -lat
  200.      (and especially so when used together), can cause NPA to generate
  201.      copious output - which takes longer to generate.  It's best to use
  202.      these options with a narrow search specification to limit output to a
  203.      manageable size.  Exceeding the buffer's size will cause NPA to
  204.      unceremoniously abort.
  205.  
  206.           NPA will not normally display cities having fewer than 15 NXXs.
  207.      This is because people are often not interested in locating smaller
  208.      cities.  However, there are several default minimums depending on
  209.      other search specifications made.  The default minimums are described
  210.      as follows:
  211.  
  212.           Specify state only:         Minimum = 15  NXXs
  213.           Specify NPA only:           Minimum =  5  NXXs
  214.           Also specify city or NXX:   Minimum =  1  NXX
  215.  
  216.           The lowest determined value will be used.  The default minimum
  217.      lowers as your search specification narrows to ensure the greatest
  218.      chance of finding your data.
  219.  
  220.  
  221.      Example 1:
  222.  
  223.           ie:  The command 'npa 713.aldine -x'  will display:
  224.  
  225.     NPA City Name       NXXs
  226.     --- --------------- -------------------------------------------------------
  227. TX:Texas
  228.     713 Aldine          442 449 590 985 986 987
  229.  
  230.  End NPA
  231.  
  232.  
  233.      This shows you:  The state of Texas has a city named 'Aldine' in the
  234.      713 area code and has six exchanges listed.
  235.  
  236.  
  237.  
  238.      Example 2:
  239.  
  240.           If you wish to locate a city with a two part name, such as the
  241.      city of 'San Antonio' in Texas, then include a hyphen '-' where the
  242.      space would normally appear.  We'll also add the -pop options.  (This
  243.      will force -co also)
  244.  
  245.           ie:  The command 'npa tx.san-an -pop' will display:
  246.  
  247.     NPA City Name
  248.     --- -----------------------------------------------------------------------
  249. TX:Texas
  250.     512 San Antonio-Bexar-1170000
  251.     915 San Angelo-Tom Green-98100
  252.  
  253.  End NPA
  254.  
  255.           This shows us two cities along with their respective county name
  256.      and county population.  In the case of San Antonio, the county is
  257.      'Bexar' (pronouned 'bear') and the county population is approximately
  258.      1,170,000.  Since the displayed population is county-wide and not
  259.      just for the city, the -pop option forces the -co option so you'll
  260.      see the county name also to avoid confusion.
  261.  
  262.  
  263.  
  264.      Example 3:
  265.  
  266.           To locate cities that have the word 'saint' in their name, ie:
  267.      'St. Paul' in Minnesota, you must abbreviate using 'st' (without the
  268.      period).  Therefore, the following command will produce:
  269.  
  270.           ie:  The command 'npa mn.st-p' will display:
  271.  
  272.     NPA City Name
  273.     --- ----------------------------------------------------------------------- 507 St Peter
  274. MN:Minnesota
  275.     507 St Peter
  276.     612 St Paul, St Paul Park
  277.  
  278.  End NPA
  279.  
  280.  
  281.           NOTE:  Some cities, especially in Canada, abbreviate 'saint'
  282.      using either 'st' (masculine form) or 'ste' (feminine form).
  283.      Sometimes it's difficult to know which gender form to use as French
  284.      names can be pretty elaborate obscuring gender from an American
  285.      audience.  To help eliminate this confusion, all 'ste.' forms were
  286.      converted to 'st' (without the period).  Now, before somebody labels
  287.      me a sexist, let me explain why this was done:
  288.  
  289.           1.  As mentioned above, many Americans (including myself) have
  290.               difficulty determining gender on some of the more elaborate
  291.               French names - making it difficult to locate the desired
  292.               city.
  293.  
  294.           2.  The wire center names contained in the source database are
  295.               *NEVER* over ten characters in length - so the 'e' in 'ste'
  296.               is frequently dropped on many of the wire center names in
  297.               order to gain that valuable extra character - making the
  298.               use of 'ste' inconsistent.
  299.  
  300.           3.  It is easier to locate a 'saint' city since you don't have
  301.               two different abbreviations to deal with.  And since the
  302.               'st' form far outnumbered the 'ste' form, it made more sense
  303.               to adopt 'st' as the standard - fewer records to convert.
  304.  
  305.           So there.
  306.  
  307.           The NXX display feature is invaluable for finding the location
  308.      of a phone number.  IE:  Suppose you have the following phone number
  309.      508/898-nnnn (Don't want to use a real one!) - no name, just a number
  310.      laying around.  You have no idea who gave it to you or what city.  By
  311.      using NPA (Specify 'npa 508.898 -co') you'll discover that the number
  312.      belongs in Westborough, MA in the county of Worcester.  Now that you
  313.      know the county and city, you might be able to figure out who gave
  314.      you the number?????  This feature alone is invaluable to police
  315.      investigators trying to track down leads on miscellaneous phone
  316.      numbers discovered during the course of investigation.
  317.  
  318.           BBS sysops can use this feature to validate that a phone number
  319.      supplied by a user during registration can even possibly exist.
  320.      Obviously, NPA cannot determine if the number is valid - but it can
  321.      at least determine if the NPA/NXX left by the user belongs to the
  322.      city s/he claims to be calling from.
  323.  
  324.           The most common way you're likely to execute NPA is by
  325.      specifying just a state or an area code and maybe a city - with no
  326.      additional parameters.
  327.  
  328.           By specifying just a state, you'll see all area codes in that
  329.      state and all cities having at least fifteen exchanges.  The default
  330.      minimum of fifteen was established to prevent the display of every
  331.      tiny town that you're probably not interested in seeing anyway.  Of
  332.      course, you *can* specify display of small towns by using the 'min=x'
  333.      parameter where x is a low value, like 1.
  334.  
  335.           By specifying just an area code, you'll see a display similar to
  336.      that seen when specifying a state.  Except that you'll only see one
  337.      area code - the one you specified.
  338.  
  339.           By specifying a city search mask after the state or area code,
  340.      you'll narrow the search to only those cities.  This is useful if you
  341.      get gobs of output otherwise.  Since city searches add overhead to
  342.      NPA, you might notice a slight delay while NPA accesses the data
  343.      files.  This delay is more noticable on XT/AT type machines.  On
  344.      386's and above, this delay is less noticeable regardless of how
  345.      narrow the search.
  346.  
  347.           By specifying an exchange after the state or area code, you'll
  348.      narrow the search to only those cities having that exchange.  This is
  349.      especially useful if all you have is a phone number with area code
  350.      and you wish to locate the city.  As with the city search mask, this
  351.      specification may delay the output slightly.
  352.  
  353.           A future version may include a latitude/longitude calculator for
  354.      determining the distance between any two wire centers.  Another
  355.      future option may include indications showing if a NXX is assigned to
  356.      cellular.  Feedback on the value of such a feature is encouraged.
  357.  
  358.  
  359.      PLEASE NOTE:
  360.  
  361.           I spent many, many hours at the Houston Public Library doing
  362.      research to convert wire center names to real city names.  But I
  363.      could not find all of them (there are well over 20,000 wire centers
  364.      in the US and Canada).  The great majority of the names in this
  365.      database are actual city names that I was able to determine through
  366.      zipcode cross references and other national data repositories.  Of
  367.      the names that are wire center names and not actual city names, some
  368.      of them are simply spelled out (formal wire center names never exceed
  369.      ten characters) while others are still in their abbreviated form.
  370.      Only a tiny percentage of names are still abbreviated - those I
  371.      simply could not figure out.
  372.  
  373.           Some cities are quite close together.  If NPA does not find your
  374.      city (even with 'min=1') then double check your spelling.  If your
  375.      city is spelled correctly and still it's not found, then that city
  376.      does not have it's own wire center designation but likely shares a
  377.      wire center with a nearby (perhaps larger) city.
  378.  
  379.           If you enter exactly two characters for the state designator and
  380.      NPA does not find it, then the two characters you specified will be
  381.      searched for within the state name.  If you enter more than two
  382.      characters, NPA will automatically know it's not a postal code and
  383.      will immediately search within the state name.
  384.  
  385.           IE:  Entering 'GA' (the postal code) for the state will return
  386.      Georgia even though the consecutive letters 'GA' does not occur in
  387.      the name.  But had you entered 'GE', NPA would have still found
  388.      Georgia.  NPA would have failed on the postal code search but would
  389.      have located the GE (GEorgia).  Now, had you entered 'GEO', then NPA
  390.      would not even bother with a postal code lookup but would immediately
  391.      perform the state name search.  So either way, you find your state.
  392.  
  393.           If your state name search specification is too vague and NPA
  394.      finds two or more states meeting your search specification, then NPA
  395.      will display it's findings and advise you to narrow your search.  You
  396.      can only look at one state at a time - or use the state wildcard
  397.      character '*' to scan all states/provinces.  Note:  Using the '*'
  398.      wildcard will slow NPA a bit since it must search all data files
  399.      instead of the usual one data file.
  400.  
  401.           You can terminate NPA at anytime during execution by striking
  402.      the (Esc) key - any other key continues the display if paused.  You
  403.      cannot stack keystrokes while NPA is executing since it must
  404.      constantly strobe the keyboard looking for the abort keyin.
  405.  
  406.  
  407.      CONFIGURING PATH FOR DATA FILES
  408.  
  409.           You undoubtedly noticed the voluminous quantity of NPA_DATA.*
  410.      files.  The database is broken up by states and provinces to make
  411.      searches faster.  By placing the data files in their own directory,
  412.      they'll stay out of the way.
  413.  
  414.           NPA has three methods of accessing it's data files.  They happen
  415.      in the following order.
  416.  
  417.           1)  'npa_data' environment variable.    if no find, then...
  418.           2)  Current directory.                  if no find, then...
  419.           3)  Regular DOS path.                   if no find, error...
  420.  
  421.           The first method that finds the data files is the one used
  422.      during this execution.  I recommend placing the NPA_DATA files in
  423.      their own subdirectory then using method #1, the 'npa_data'
  424.      environment variable.
  425.  
  426.           Suppose you have a subdirectory called 'c:\npa'.  You can
  427.      configure NPA to always look there - regardless of what drive or
  428.      directory is current by simply using the environment variable
  429.      command:
  430.  
  431.           set npa_data=c:\npa
  432.  
  433.           You should place this command in your autoexec.bat file or other
  434.      batch file that gets executed at system boot.
  435.  
  436.           If you wish to report a bug, please do so in writing at the
  437.      following address.
  438.  
  439.  
  440.      LICENSING
  441.  
  442.           NPA, like many other programs, flies under the shareware banner.
  443.      If you like and use NPA, then *please* register.
  444.  
  445.           New versions are periodically released that contain updated
  446.      database information as well as new features.  Registering will
  447.      ensure your notification of these new releases.
  448.  
  449.           You can register by mail using check/money order/Visa/MC.  Or
  450.      you can register by telephone using Visa/MC.  Either way, you'll
  451.      receive the two keys (discussed in the BRAND.DOC file) necessary to
  452.      brand NPA as registered.
  453.  
  454.           If you register by telephone, you can get the registration keys
  455.      the same day in as little as fifteen minutes.  I'm generally away
  456.      from the office so voice-mail will pick up.  You may register via
  457.      voice-mail and the system will page me thus allowing me to return
  458.      your call within a few minutes.  The system will page me immediately
  459.      if your message is left during the following hours:  Mon-Fri 7a-11p,
  460.      Sat-Sun 8a-11p.  All times are Central Time.
  461.  
  462.           Note that the voice-mail system is not an unprotected cassette
  463.      tape telephone answering machine that just anybody can walk upto.
  464.      It's a full-blown PIN accessed PBX voice-mail system (ASPEN by Octel
  465.      communications for the telephony-literate out there - which I suspect
  466.      most of y'all are) so your credit card information is secure!  If
  467.      you desire to register by phone and voice-mail picks up, please leave
  468.      the following information:
  469.  
  470.           1.  The name to register.   Please spell it out.  The name
  471.               must reasonably match the card holder's name.
  472.           2.  The credit card number.
  473.           3.  The expiration date.
  474.  
  475.           If you simply prefer not to register via voice-mail, that's
  476.      fine.  I'll certainly call you back.  But using voice-mail will speed
  477.      the order since I'll have everything all ready to go when I call.
  478.  
  479.           The registration fee is twenty five dollars.  I will process the
  480.      order and return your call promptly.  If you do not anticipate being
  481.      available immediately after registering via voice-mail, then please
  482.      indicate in your message if it is alright for me to leave the
  483.      registration data to who/whatever answers your phone in your absense.
  484.      If it's not okay, then I'll continue to call until I reach you
  485.      personally.
  486.  
  487.  
  488.                PC Consultant
  489.                P.O. Box 42086
  490.                Houston TX 77242-2086
  491.                Ph. 713/826-2629  (v-mail no answer)
  492.  
  493.           Thank you for using NPA and for registering if you like it!
  494.  
  495.  
  496.          ∙-═≡═-∙  Other products offered by the PC Consultant  ∙-═≡═-∙
  497.  
  498.  
  499.           « TimeLock »
  500.  
  501.           TimeLock is a tiny memory resident security utility that locks
  502.      the PC keyboard after a user pre-specified period of inactivity,
  503.      thereby protecting a sensitive LAN/mainframe userid or application
  504.      program from spying eyes and curious fingers while you are away.  An
  505.      invaluable addition to your company's PC security arsenal!
  506.  
  507.           Branches of the US, Canadian, and Australian government trust
  508.      TimeLock as do many private and public companies.
  509.  
  510.           TimeLock can be instantly locked via hot-key, batch file, or
  511.      through keyboard inactivity.  The *only* way to regain access to the
  512.      PC once the keyboard is locked is by entering your secret password.
  513.      Otherwise the PC must be cold-booted (powered off & on).  And that,
  514.      of course, will terminate your sensitive LAN/mainframe connection -
  515.      protecting your userid from intrusion!
  516.  
  517.           TimeLock is written entirely in assembly language for optimum
  518.      speed and size.  Uses less than 3K RAM!
  519.  
  520.           Please telephone at the above number for more details on
  521.      TimeLock.  If you are a corporate network administrator in charge of
  522.      company PCs or PC products manager charged with software evaluation
  523.      and recommendation, I'll send you a diskette free of charge so you
  524.      can evaluate TimeLock for yourself.
  525.  
  526.           Once again, thank you for choosing software by the PC Consultant!
  527.  
  528.